package com.ocom.srvpamh.feignclient;

import com.ocom.common.constant.PayConfigUrl;
import com.ocom.common.entity.card.EntityXfMerchPayInfo;
import com.ocom.common.request.exposeapi.LargeScreenRequest;
import com.ocom.common.request.exposeapi.boczhxy.AuthenticationRequest;
import com.ocom.common.request.payconfig.AddCardInfoVo;
import com.ocom.common.resp.Result;
import com.ocom.common.vo.pay.ABCRechargeVo;
import com.ocom.common.vo.pay.UpdateListRechargeVo;
import com.ocom.common.vo.payconfig.UpdatecardStateVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;


@FeignClient(value = "payconfig")
public interface PayConfigClientService {

    @PostMapping(PayConfigUrl.Url_GetCardInfoByCardNo)
    public Result getCardInfoByCardNo(@RequestParam("comId")Long comId, @RequestParam("cardNo")String cardNo);


    @PostMapping(PayConfigUrl.URL_getPackagePayBySms)
    public Result getPackagePayBySms(@RequestParam("comId")Long comId, @RequestParam("pId") Long pId);

}
